#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  cin >> a;
  if (a <= 100)
    cout << 100;
  else if (a <= 250)
    cout << 250;
  else if (a <= 500)
    cout << 500;
  else if (a <= 1000)
    cout << 1000;
  else
    cout << 2000;

  return 0;
}